#include "ActionStruct.h"

ActionStruct::ActionStruct()
{
    m_zoneCode = 0;
    m_deviceTypeCode = 0;
    m_deviceCode = 0;
    m_functionCode = 0;
    m_functionValue = 0;
    m_address = 0;
    m_delayTime = 0;
}
QString ActionStruct::zoneName() const
{
    return m_zoneName;
}

void ActionStruct::setZoneName(const QString &zoneName)
{
    m_zoneName = zoneName;
}
QString ActionStruct::deviceName() const
{
    return m_deviceName;
}

void ActionStruct::setDeviceName(const QString &deviceName)
{
    m_deviceName = deviceName;
}
QString ActionStruct::functionName() const
{
    return m_functionName;
}

void ActionStruct::setFunctionName(const QString &functionName)
{
    m_functionName = functionName;
}
QString ActionStruct::valueName() const
{
    return m_valueName;
}

void ActionStruct::setValueName(const QString &valueName)
{
    m_valueName = valueName;
}
quint16 ActionStruct::zoneCode() const
{
    return m_zoneCode;
}

void ActionStruct::setZoneCode(const quint16 &zoneCode)
{
    m_zoneCode = zoneCode;
}
quint16 ActionStruct::deviceTypeCode() const
{
    return m_deviceTypeCode;
}

void ActionStruct::setDeviceTypeCode(const quint16 &deviceTypeCode)
{
    m_deviceTypeCode = deviceTypeCode;
}
quint16 ActionStruct::deviceCode() const
{
    return m_deviceCode;
}

void ActionStruct::setDeviceCode(const quint16 &deviceCode)
{
    m_deviceCode = deviceCode;
}
quint16 ActionStruct::functionCode() const
{
    return m_functionCode;
}

void ActionStruct::setFunctionCode(const quint16 &functionCode)
{
    m_functionCode = functionCode;
}
quint16 ActionStruct::functionValue() const
{
    return m_functionValue;
}

void ActionStruct::setFunctionValue(const quint16 &functionValue)
{
    m_functionValue = functionValue;
}
quint16 ActionStruct::address() const
{
    return m_address;
}

void ActionStruct::setAddress(const quint16 &address)
{
    m_address = address;
}
quint16 ActionStruct::delayTime() const
{
    return m_delayTime;
}

void ActionStruct::setDelayTime(const quint16 &delayTime)
{
    m_delayTime = delayTime;
}











